package com.cheems.service;

import com.cheems.entity.DTO.picDTO;
import com.cheems.entity.DTO.picUpdateDTO;
import com.cheems.entity.DTO.wallListDTO;
import com.cheems.entity.Pojo.pic;
import com.cheems.entity.Result.PageResult;

import java.util.List;

public interface PicService {
    PageResult wallList(wallListDTO wallListDTO);

    List<pic> randomWall();

    pic detailWall(Integer id);

    void addPic(picDTO picDTO);

    void updatePic(picUpdateDTO picUpdateDTO);

    void delPic(Integer id);
}
